package com.jsmile.cloud.promotioncenter.activity.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author 龚亮
 * @version 1.0
 * @desc 为了薪资破万，还是睡一会儿吧...!
 * @date 2020年06月07日 10:57:35
 */
@ApiModel
@Data
@TableName("p_template_goods")
public class TemplateGoods extends Model<TemplateGoods> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;
    @ApiModelProperty(value = "商品skuid")
    private Long skuId;
    @ApiModelProperty(value = "商品spuid")
    private Long spuId;
    @ApiModelProperty(value = "活动价（单位：分）")
    private Long activityPrice;
    @ApiModelProperty(value = "拼团活动模板Id")
    private Long templateId;
    @ApiModelProperty(value = "create_time")
    private java.util.Date createTime;
    @ApiModelProperty(value = "update_time")
    private java.util.Date updateTime;
    @ApiModelProperty(value = "删除标记")
    @TableLogic
    private Integer delFlag;
    @ApiModelProperty(value = "shop_id")
    private Long shopId;
    @ApiModelProperty(value = "supply_id")
    private Long supplyId;
    @ApiModelProperty(value = "tenant_id")
    private Long tenantId;
    @ApiModelProperty(value = "活动库存")
    private Integer activeStore;
    @ApiModelProperty(value = "活动佣金比例")
    private String activeRate;
    @ApiModelProperty(value = "活动佣金金额")
    private Long activeRatePrice;
    @ApiModelProperty(value = "最低购买数量")
    private Integer minBuyLimit;
    @ApiModelProperty(value = "平台id")
    private Integer platformId;
    @ApiModelProperty(value = "业务id")
    private Integer bizCode;

}
